import base from '@/api/baseurl';
import request from '@/utils/request'



export function fetchInputParams(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/BCCodeReference/queryInputParams',
    method: 'get',
    params: query
  })
}




export function addInputParams(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/BCCodeReference/addInputParams',
    method: 'post',
    data
  })
}


export function updateInputParams(data) {
  return request({
    baseURL: base.appBaseApi,
    url: '/BCCodeReference/updateInputParams',
    method: 'post',
    data
  })
}

//单行删除
export function deleteInputParams(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/BCCodeReference/deleteInputParams',
    method: 'get',
    params: query
  })
}

fetchprmType
export function fetchprmType(query) {
  return request({
    baseURL: base.appBaseApi,
    url: '/BCCodeReference/fetchprmType',
    method: 'get',
    params: query
  })
}


